# 二、安装rpm包
tar -xvf openssl-1.1.1q.tar.gz
cp openssl-1.1.1q /root/ -r
cd /root/openssl-1.1.1q
./config shared --openssldir=/usr/local/openssl --prefix=/usr/local/openssl
make && make install

cd -
cd rpms
rpm -ivh *.rpm --force --nodeps
cd ../
# 二、安装nginx
tar -zxvf nginx-1.20.1.tar.gz
mkdir -p /usr/local/nginx
cd nginx-1.20.1/
chmod 755 configure
./configure --with-stream --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-http_sub_module --with-http_ssl_module --with-openssl=/root/openssl-1.1.1q
make && make install



